package cn.com.nes.mybatis.agent.activity.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName active_user
 */
@TableName(value ="active_user")
@Data
@ToString
public class ActiveUser extends Model<ActiveUser> {
    /**
     * 
     */
    @TableId(value = "uuid")
    private String uuid;

    /**
     * 参与那个公司的活动
     */
    @TableField(value = "companyId")
    private String companyid;

    /**
     * 
     */
    @TableField(value = "name")
    private String name;

    /**
     * 用户头像
     */
    @TableField(value = "userPic")
    private String userpic;

    /**
     * 手机号
     */
    @TableField(value = "phone")
    private String phone;

    /**
     * 公司名称
     */
    @TableField(value = "companyName")
    private String companyname;

    /**
     * 业务方向
     */
    @TableField(value = "businessDirection")
    private String businessdirection;

    /**
     * 关注信息
     */
    @TableField(value = "follow")
    private String follow;

    /**
     * 地址
     */
    @TableField(value = "address")
    private String address;

    /**
     * 小程序统一id
     */
    @TableField(value = "unionid")
    private String unionid;

    /**
     * 用户openid
     */
    @TableField(value = "openid")
    private String openid;

    /**
     * 活动UUID
     */
    @TableField(value = "activityUuid")
    private String activityuuid;

    /**
     * 
     */
    @TableField(value = "jsondata")
    private String jsondata;

    /**
     * 创建时间
     */
    @TableField(value = "createTime")
    private Date createtime;

    /**
     * 用户类别01活动用户 02小程序03 落地页
     */
    @TableField(value = "yhlb")
    private String yhlb;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @Override
    public Serializable pkVal() {
        return null;
    }

}